import express from "express";

// 用户类控制器
import Role from "../controller/role/role";
const roleController = new Role();

const Router = express.Router();

Router.get("/check", roleController.check)
  .get("/checkByRoleId", roleController.checkByRoleId)
  .get("/remove", roleController.remove)
  .post("/add", roleController.add)
  .post("/update", roleController.update)
  .post("/list", roleController.list);

export default Router;
